by ray | Dec 10, 2009 | IT / Tech News
SAMPLE COMMANDS/SCRIPTS – run command to see which folder is the biggesthttp://searchwindowsserver.techtarget.com/tip/0,289483,sid68_gci1366742_mem1,00.htmldir C:specifyfolder -Recurse | where {$_.psiscontainer} | select name, fullname...
by ray | Dec 10, 2009 | IT / Tech News
GENERAL TIPS – test everything locally in an isolated folder using -whatif at the end of a command. this way, you can see what the results would be if it were run for real. when confident, remove -whatif. – be careful of -recursive because this...
by ray | Dec 10, 2009 | IT / Tech News
GUI – POWERSHELL ISE AND POWERGUI – Powershell ISE comes with default powershell installation, good for easily starting remote powershell session on server – PowerGUI Script Editor – I recommend this to create scripts. – PowerGUI –...
by ray | Dec 10, 2009 | IT / Tech News
SETUP/INSTALLATION 1 – install powershell 2.0/windows management framework on local machine and remote servers that you want to manage.http://support.microsoft.com/kb/968929- running scripts on a remote machine only works in powershell 2.0 — both the local...
by ray | Dec 10, 2009 | IT / Tech News
INTRO READING – What is PowerShell?http://en.wikipedia.org/wiki/Windows_PowerShell – Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0)http://support.microsoft.com/kb/968929