-
Does anyone know what the difference between these 2 commands are in terms of what they do considering both add windows features? The "AS" is what I can't find online details on. Add-WindowsFeature as-net-framework The standard seems to be: Add-WindowsFeature Net-Framework
-
I am trying to find a way to modify the script below or if anyone has a script that will delete home folders for a list of users if the user names are specified in a text or csv file, can anyone help? I would like to delete the user accounts as well, but the home folders is fine for now. I want to do...
-
I am trying to find a way to use powershell to query a sql server and provide back the instance names with the port numbers used, then ideally get the port numbers and add them to specific rules I create for the Windows firewall. Currently I use the netsh commands for the firewall config and go to the...
-
Thanks, I looked at the results of Get-WindowsFeature as-net-framework and compared that to the Get-WindowsFeature NET-Framework-Core and the only output is the "name" and that just shows the 1st as being As-Net-Framework and the other is the Net-Framework-Core, but I don't see any difference...
-
Hello, I now know the best methods of remoting thanks to Don & the folks here. But I have to use the Quest shell as we utilize their Active Role solution and I need to write a script that runs when something is done to users accounts through that system. I know how to set it up and what commands...
-
I tried to do that, but when I run the get-pssnapin - registered the exchange tools don't come back as registered. Then I've read it's not "supported" to add the snapin for the exchange tools in another shell aside from the exchange shell, so you should use a remote connection,...
-
Thanks, so the tools are installed on the system I need to run this script from, and I got this to work, so is this not recommended either? c:\program files\Microsoft\Exchange\V14\bin\RemoteExchange.ps1 ; connect-ExchangeServer - Auto Is that OK or do I need to do the Remote session noted in your reply...
-
Not a good powershell script idea, closing question