Azure Traffic Manager External Endpoints and Weighted Round Robin via PowerShell
At TechEd North America, we announced Azure Traffic Manager support for endpoints external to Azure. We are happy to announce a further enhancement, adding support for weights when using round-robin...
View ArticleIf then Help
I working on this script that gets networked printers from a remote computers. I am trying to to add some logic where if the computer and or username are not correct the script ends. simple right! The...
View ArticleProblem with running a remote script within a script.
I've got a script that's on one of my servers.I wanted to make a new script (which i can distribute to others at the IT-dept) that would enter a pssession and invoke-command the script.I've been...
View ArticleFormat output
Hey guys I'm new to powershell and I some powershell that will tell me the the members of the local admin group on client PCs, the issue I have is the formatting of the members column needs to be...
View ArticleCommand line arguments in PS
Hi All, I'd like to call the following CMD command in Powershell with these parameters: svr1, svr2, db1, db2 and the script file name. Any help is appreciated. Thank you. C:\OCDB.exe CN1="Data...
View ArticleHow to continue script after server reboots?
I would like to do something like this. Code below does not work. Set-ExecutionPolicy Unrestrictedworkflow New-CustomWorkflow{ function DoSomething() { #Do something that requires restart,...
View ArticleNeed to pass variables from a local script to a remote script.
What i got is two scripts.Connector.ps1 which is run locally (planning to exe-wrap this)mainscript.ps1 which is located on a DC.Connector is essentially the part of the script that authenticates to the...
View ArticleApplication installation via Powershell
HelloI am very new to Powershell. i would like create a PS script which will install application ( silent installation ) to remote workstation. The installer file will be in .msi and .exe format ( eg....
View ArticleRead IIS Logs for ActiveSync
HiI have the following powershell script which will read activesync IIS logs and then provide a csv file with the http error codes in a list.But I would like a way for the content of the CSV file to be...
View Articledelete user accounts and their home folders
Hi,For a global firm, I need powershel command to run againt a txt file or csv file to find left users in AD and delete their accounts from AD and their home drives from globally dispensed file...
View ArticleTake control of the Command Prompt with PromptPal
When it comes to working from a Command Prompt, Greg Shultz says that PromptPal gives you a lot more control and convenience. Take a look at some of his favorite features in PromptPal.Read More...
View ArticleQuick PowerShell Script to Start Splunk
Got another quick PowerShell post for you. I have a copy of Splunk running locally on my Windows 8.1 workstation. I don’t always leave it running, for obvious resource reasons, therefor I end up...
View ArticlePure Storage REST API + Windows PowerShell (Part 1)
After a brief hiatus I’m back and to start things off I wanted to share an example of how to use the new REST API we have created as part of our Purity Operating Environment. The implementation of the...
View ArticleHow to parse all the selected data either from Word Template
Hi,How do I parse all the selected data either it is text or drop down item or check box in a WORD Template document using PowerShell. I have tried using the below code but it just prints the data as...
View ArticleHow to list Variables for a script using Windows 7 laptop?
I admit that I am a "rookie" when it comes to PowerShell. But I am hungry, and wanting to learn more. I have a thick, cumbersome PowerShell reference book here, but I am struggling to learn even the...
View ArticleHow to list Variables for a script using Windows 7 laptop?
I admit that I am a "rookie" when it comes to PowerShell. But I am hungry, and wanting to learn more. I have a thick, cumbersome PowerShell reference book here, but I am struggling to learn even the...
View Articlegetting just the Version from a Get-WMIObject
OK, back to the painful world of formatting output this line of code works. Get-ADComputer -Filter * -SearchBase "ou=mgh_workstations,dc=Acme,dc=org" | Where {$_.Name} | Select Name It returns just...
View ArticleChange Local Password
I've Googled this and I've gotten tons of good hits. But here is what our environment looks like. We have many Windows 2003 x86 & x86 servers. We have many Windows 2008 R2 x64 servers.We have a...
View Articlesharepoint server database recovery
SharePoint Server data recovery software is the most remarkable database recovery software that has got an excellent ability to restore documents, files and websites from SharePoint databases. This...
View ArticleUpdate Printer Mappings And Keep The Default Printer.
Hi all, I have found the following script on another website to update printers and there is a part in that script that it is supposed to keep the default printer. The only error I get is the...
View Article