I have always wanted to get my mittens on a mobile iteration of the prized management tool.
I made sure I got a mobile sized tablet that would allow for me to use this on the go. Remote Desktop, Team viewer, Screen connect, VNC just dont respond like a native client. Wouldn’t it be something to truly take your scripting on the road with you?!
I believe this is possible now with todays mboile phones and tablets.
What are your thoughts and your ideal access to management and automation tools?
There is a push to go to Visual Studio Code, which is a plug-in rather than the PowerShell.exe having its own dedicated ISE application. It can be seen as smart, others see this as allowing for distractions.
I do not like the syntax in the responses of commands, I don’t like the lack of the warm tab complete I am used to, and app stability. I complain about ISE lacking UI updates, but I hate the clumsy attempts to cram PowerShell into VS Code. It’s great if you want to do things across OS platforms.
I do however love VS Code for web coding and even do other one off projects.
I find the built in ISE to be the reliable of the two. It doesn’t ask me to update every time I launch it to do work.
I will say you lose some of the cool features if you are managing an updated landscape. For companies living in the past, PowerShell ISE is still relevant for interactions of windows 10 and server 2016 and you save space and can relax knowing you aren’t breaking unwritten standards as far as automation or script development.
What’s your favorite ISE? Let me know in the comments below.
There is a special place in my heart for tab-completion. Just invoking it brings peace of mind.
There are a lot of people that feel like they are retired school spelling-bee champs. I tend to like the command line validation. It sounds crazy but even when I spell it out all the way it feel like magic to watch camel case completely reshape the letters and when it doesn’t I feel this shame of losing my mojo!
I think having this as a fail-safe or a second way to verifying your typing prowess. It looks awesome when your boss is visiting your desk and you’re showing him the latest update to your project in a quick query or a possession to test connectivity to a server and it’s services and processes. It is massive when you install, update a role or feature.
Take some time and consider if you are using all the tools PowerShell can do and you can do this faster with tab-complete as it works with your own custom built functions and that adds to your highly stacked brownie points lol.
Thanks for reading and let the shell enlightened you.
It’s strange how often we talk about history and how many of us actually get it.
Today 42 years ago my brother was born on this day as mother’s first child, she celebrated her Mother’s Day two days in a row.
Although he passed away before his time. I will never forget how he affected my history. Without him or my mother I’m not sure we would be sharing or relating on this technical blog. I am thankful. So saying that I know you have to be thankful for the ups and downs and even mistakes that sort out where we end up or the solutions we find in life.
Get-history something that you have to go back and explore and see your mistakes. Your typos and your solutions that may be a reusable philosophy to include in your next project or script. I think using a PowerShell command box is just as important as using an ISE wether it is the OS built in one, visual studio code, notepad++, or even Sapian power Script.
As a challenge I want you to get-history and share your third from last command in the comments. Don’t include sensitive data. Just the command. Sounds silly but it could be fun.
Mine is Restart-Computer -Force
Looking back I think my computer wasn’t performing well after a long zoom meeting. I think it makes me want to see if there is anything in the system log. Had I not challenged myself to do this first. I may not have looked back at an opportunity to learn.
First start with an additional module known as “importExcel” (the link to the psgallery details is there)
Truth be told you can also Export to excel as well even though the name doesn’t give that away.
Script Time!!!! (I actually had to type this because I say this in real life in response to real challenges and tasks.
Here is a script that takes the performance counters from a machine, note this is different depending on the OS and the hardware. you can explore performance counters inside of the performance monitor tool searchable inside the start menu.
Recently I was Reading a write-up on API and transforming data with Python.
I know this is a blog about PowerShell right? However I want to point out that python is a scripting environment and actually more involved to get started so the restraints of that for a beginner is constricting (Pun intended).
PowerShell is on every windows computer since windows XP and PowerShell version 7.0 is now available for install on all Major OS including Mac, Linux and even IoT and its backwards compatible to windows 7.
If you are interested in a python project go here, because it will satisfy your needs and also take hours!
Here is a quick post about setting the max memory in SQL Server so that you got no worries if you forgot to set this at installation.
I get it we all been there before. This was a step I over looked when starting out with SharePoint many years ago. However I did recently have this come up in a discussion and I remembered and thought I should do this in PowerShell to exercise my scripting technique. It seems to be best used as an expression.
Test this in a dev environment first and not production to ensure compatibility with versions and the .net framework:
I have been scripting for quite sometime and sometimes there are older CMD tools that just work.
Most would say why reinvent the wheel?
Well if the wheel wasn’t constantly being revised and upgraded then all the newer methods and functions wouldn’t be as robust.
With programming in c# there are methods and you can build functions there and in powershell to simply your daily task and pc deployments.
Don’t forget that most great ideas come from someone thinking it could be done better. Making things better would never happen if we don’t take steps to refine our processes we have grown so attached to.
Do you have a function that you created to make your life easier? Please share in the comments below.