Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

How To Use PowerShell's Desired State Configuration To Configure Nano Server

Because the forthcoming Microsoft Nano Server doesn't have a GUI, here's how to create configuration scripts with the built-in Desired State Configuration in Windows PowerShell.Read More

View Article


Windows Azure Resource Manager

Over the past year, Microsoft has been introducing Azure Resource Manager (ARM) as the preferred way to provision and manage resources in its Azure cloud. ARM is the successor to the original Service...

View Article


Cyber criminals cash out using PowerShell, other legitimate tools

Kaspersky Lab found three cyber crime gangs using customized malware and APT-style reconnaissance to get the stolen money into their pockets.Read More

View Article

Dealing with Strings in AD

$users=Get-Content c:\temp\ad\1.txt$usersforeach ($userin$users) {Get-ADUser-ldapfilter"(DisplayName=$user)"-Property samaccountname | Select-Object-Property samaccountname | out-file...

View Article

Replacing Command Prompt with PowerShell in the Windows 10 Start Menu

By now you should be familiar with how to replace the Command Prompt option in the Power User Menu (accessed by right-clicking on the Start button) for Windows 10. To do this normally you just...

View Article


XML with Closing Elements

Good evening, I have been working with XML and I have a problem I don't know how to to solve.This is the original XML...

View Article

Missing some cmdlets in powershell

Hi Everyone,There is one weird thing on one of my 2012 R2 windows box where I am missing with some basic cmdlets for eg Get-Host , Write-host etc... only listed are the one come up after I execute...

View Article

PSCustomObject NoteProperty Stuck...

Hi, I am struggling to extract the string from a NoteProperty returned within a PSCustomObject. I am looking to query a API from Cisco (Cisco PSIRT openVuln). I have managed to authenticate using the...

View Article


Greater Visibility Through PowerShell Logging

Mandiant is continuously investigating attacks that leverage PowerShell throughout all phases of the attack. A common issue we experience is a lack of available logging that adequately shows what...

View Article


Use PowerShell to manage Office 365 Groups

Groups in Office 365 are intended to be created and managed by admin and end users. If you, the global administrator, need to perform bulk operations, configure global settings, or want to monitor...

View Article

Running powershell script from code components

I'm using this code to run powershell script from a workflow using the run code component.Read More

View Article

How To Ping the Serves From List and Parse the Output to Store Selected...

Hi there!Would you be so kind to compose a PowerShell script which does the following? I am trying to do it by myself, but having really hard time with it :(1.There is a file which contains a list of...

View Article

how to transfer text messages from android to computer?

Text messaging is a fundamental way that people communicate and many important notice or business information may be sent or received by text messages.how to transfer text messages from android to...

View Article


Enable CredSSP for PowerShell

Q. How do I enable CredSSP for hosts to enable hopping in remote PowerShell?Read More

View Article

Add Active Directory user accounts in bulk with PowerShell

Administrators can use PowerShell scripts to automate the creation of Active Directory user accounts for new employees.Read More

View Article


how to recover deleted text messages from android?

There are many android phone users, and losing important phone numbers or text messages from it happens unexpectedly. But if you need to recover them, you can use an android recovery app to help.Just...

View Article

getting shortcut target path

$sh=New-Object-COMWScript.Shell$targetPath=$sh.CreateShortcut('C:\Users\Public\Desktop\Web Mail.lnk').TargetPath$targetPathThat code almost works.   It does get part of the target but not all of it....

View Article


Getting message header information

I am an an exchange administrator.  Can I get the message header information of a suspect email without give myself rights to users mail file.  Can this be done via ems (exchange management shell)...

View Article

Streamlining Admin Tasks with SCVMM PowerShell Commands

Before we delve into covering helpful PowerShell SCVMM cmdlets you can use in your daily operational tasks, it is imperative to understand that System Center Virtual Machine Manager uses its own set of...

View Article

Authenticating Web Service Requests with PowerShell

I was recently doing a presentation about using PowerShell to access Web services, covering some of the things I've discussed in this column over the past few months, when someone asked me, "What kind...

View Article
Browsing all 6937 articles
Browse latest View live