Logon GPO Analysis via Powershell
End-user happiness would decrease exponentially if your end-user had enough time to make a cup of joe while logging on. Therefore, a crucial part of a good end-user experience is keeping logon times...
View ArticlePowerShell Problem Solver: Use PowerShell to Find Non-System Service Accounts
A common task for many IT Pros is to keep tabs on service accounts. That is the say, the account that a service runs under. For the majority of services, this account is determined automatically and is...
View ArticleIntroducing the Add CredSSP to a PowerShell script (vROCmdlet) workflow
In this post we will take a look into a vROC that can help overcome CredSSP limitations introduced with the VMWare vRealize Orchestrator Plug-in for Microsoft Windows PowerShell. It give you an option...
View ArticleExploring PowerShell, Part 2: Learn the Commands Using Get-Help
Our next stop on our exploration of using PowerShell involves learning more about what Get-Help can do for you. When you are attempting to figure out a command might work or just need to see what some...
View ArticleGet-Random
I was asked whether it is better to create an 8 digit random number using a maximum of 99999999 or 0-9 8 times and reassmbling the 8 digits. The time is certaining shorter using 0-9 8 times but is it...
View ArticleManage Azure RemoteApp using PowerShell!
We’ve been waiting for this one! The Azure PowerShell team has just released version 0.8.15. This version contains a new module that allows managing Azure RemoteApp using PowerShell!Read More
View ArticleQuery AAD Using Graph API from PowerShell
One of my favourite things about PowerShell is discoverability, and how quickly you can use PowerShell to investigate and learn. This post shows some snippets for using PowerShell to query the Azure...
View ArticleWindows 8.1 'Change PC Settings' link won't work?
I'm running Windows 8.1. When I go to the Settings menu and then click on the 'Change PC Settings' link, nothing happens. It shows for a quick glimpse, but then disappears almost immediately after. I...
View ArticleWanting to compare 2 separate .csv files and ouput the differences to another...
I have two .csv lists, single column. I want to read them both, compare them, and exportthe ones that do not have a match to another ,csv file. Obviously one list has more data/records than the...
View Articleget index of installed hard drives and output in sorted list
Hi there this is my first post here because i cant find anywhere else an solution.I have to configure fresh server. Therefore i have to identify the installed drives and format the first one.Now i´m...
View ArticleInvoke-RestMethod passing header values
I am trying to use Invoke-RestMethod cmdlet as i have a project to create VMs using API in our environment. API requires me to pass X-Auth-user and X-Auth-Password in the header field with my userid...
View ArticleAn operations error...
I finally have some 2008 r2 servers that I get to use the Active Directory module cmdlets on. Strange thing though, when I run Get-ADGroupMember on the Administrator group, I get this error:An...
View ArticleGetting values in the registry
Hi allI am trying to write a script that will go through the SYSTEM\\CurrentControlSet\\Control\\Class reg key on remote computers to find the CLSID or GUID of the network card and based off of that...
View ArticleParsing @@Version output question
Hello,I am using Powershell 2.0 with SQL snapin loaded and trying to get the SQL server Version, version number and Edition.$ver = Invoke-Sqlcmd -ServerInstance 'ServerName\InstanceName' -Query...
View ArticleCompare folder list to AD user list
I'm trying to clean up our home folder shares and want to compare current users from AD with a folder list from the file server. I want to take each variable and compare line-by-line... so say line 1...
View ArticleHTML Report
Hi I have this script . Now it goes to two connection(Filer) and get all information. Is there any way I can group by in report so both filers reports display separately on same page Function...
View ArticleGet local group members on servers issue with output.
HelloI'm trying to get are local group members on a server. It's working for the most part except the getting the group members.I'm gettting the following output for the...
View ArticleSSAS Analysis Backup History Table Data insert
I need some script to insert data(Success Information/Failure Information) into a DB Engine Table if $database.Backup("$directory_path\$database-$timestamp.abf") statement got executed...
View ArticleSet-ADObject Cannot find an object
I have the following scripts its erroring out and I'm not sure why.Import-Module ActiveDirectoryimport-csv "c:\test scripts\output-Users3.csv" | % {Set-ADObject $_.saMAccountName -replace...
View ArticleWindows 2008 Server Roles
Is there a powershell script that I can pull the server roles from my Windows 2008 Servers? I am able to use the Get- WindowsFeature for my 2008R2 and 2012
View Article