How To Use PowerShell To Manage System Services
Being able to call up specific variables is key in narrowing down a large data set.Read More
View ArticleReference local variables in a remote PowerShell session the easy way
Q. How can I easily reference local variables in a remote PowerShell execution?A. PowerShell v3 and above makes this very easy. Prior to version 3 to use variables in a remote PowerShell session you...
View Article22 tips for preventing ransomware attacks
The explosion of ransomware in the past year has many infosec professionals worried because of the devastation it can wreak on an organization that doesn’t have a backup and recovery strategy.Read more
View ArticleVariant of DNS-changer adware works around Powershell restriction
Researchers at Malwarebytes have detected "a particularly interesting method" that coders used to circumvent default restrictions mandated for Powershell scripts,....Read More
View ArticleWhy does same command with different parameter (filter or properties) give...
why is it if i typeget-aduser -filter * | select Name, EmailAddressit does not display EmailAddress? It only displays Namewhy is it if i type> get-aduser -properties * | select Name, EmailAddressi...
View ArticleGetting Scheduled Task information via PowerShell
Hi,I'm working on a Powershell script that is to be tasked with the job of auditing scheduled tasks that are defined on a number of Servers in our environment.I've managed to get it working pretty well...
View ArticleIs there a way to set a time limit on an individual powershell command
Hello Allwhen doing the following type of thing $ErrorActionPrefference="Continue"foreach ($Computer in $Computetlist) {try {get-wmiobject win32_bios -computername $computer}catch {some code here}}I...
View ArticleConverting a JSON file into an object, then how loop through to see what the...
PS C:\Users\epcsadmin\Desktop> cat...
View Articleget the GAL
Is there anyway in PowerShell to force a Windows 7 workstation | Outlook 2010 client to download the GAL silently? I did find these commands: Get-GlobalAddressList| Update-GlobalAddressList The only...
View ArticleModifying Powershell script to display additional column
People,I need some help in modifying the script below:Get-ADComputer -Properties OperatingSystem, OperatingSystemVersion -Filter { Enabled -eq $True -and OperatingSystem -like "*Windows 10*"}...
View ArticleDeploy templates in Azure Stack using PowerShell
Use PowerShell to deploy Azure Resource Manager (ARM) templates to the Azure Stack POC.ARM templates deploy and provision all of the resources for your application in a single, coordinated...
View ArticleAzure DSC Extension Data Collection
In order to improve the quality of the DSC Extension, the DSC Extension will start automatically sending information to Microsoft containing operational and reliability data about the DSC Extension in...
View ArticleRefreshing an active window
Hi all, playing a little catch up here. I am wanting to have the active window auto refresh on its own. I want powershell to be able to run in the background and have the refresh happen in the...
View ArticleMicrosoft Team Unveils SharePoint Search Diagnostic Tool
Microsoft's premier field engineers for search have produced a new tool to help organizations troubleshoot SharePoint Server search issues.Read More
View ArticleUsing PowerShell DSC
Windows PowerShell Desired State Configuration (DSC) is a configuration management tool that extends the existing functionality of Windows PowerShell. DSC uses a declarative syntax to define the state...
View ArticleEmail notifications not working
A while back I turned off email notifications here. I decided to turn them back on and have edited my forum subscriptions and turned the notifications on in my profile, however, I am not receiving any...
View ArticleAdd value to new member in arraylist if entry found?
Good afternoon,I created an arraylist of services from a server. In that arraylist I have seven columns.DisplayName,Service,Application,StartMode,State,PathNameI would like to at the end of my script...
View ArticleAdd comma in Excel
I have a CSV file that has this format. LName FNameThen each each column I have a list of users names. I need to add a comma at the end of each Last Name. I've googled this but have not found...
View ArticleStart-Job Large File
Trying to develop Powershell code to process a very large file. One record processed by same block of code over and over.If the file has 100,000 records, it would be ideal to use start-job for the...
View ArticleIIS Information from Network Servers
I have the following script but am having issues exporting the information to a file with the Server name and if IIS is installed. Any help? This displays on screen currently.$servers = (Get-Content...
View Article