Sign in to join the PowerShell Group
its not shows error message on witch server its failed to strt
Purvesh commented on
Perform Active Directory security assessment using PowerShell 1 month, 1 week ago
Nice work Krishna it was pleasure working with you. You created amazing script and help automation dashboard
i do this configuration and it works perfectly but i have an issue that i cant send a file from the client to the server “put” command but the “get” works
Sponsor posted an update in the group
PowerShell 1 month, 1 week ago
The ever-growing number of services and tasks requires IT Pros to speed up the management of Azure services, Office 365 tenants, and many more.
PowerShell is a great technology to achieve this. However, many users find it too complex and only suitable for experts. ScriptRunner makes PowerShell a real solution for everyone by simplifying the development, management and delegation of PowerShell scripts.
Register for freeBaki Dayi posted an update in the group
PowerShell 1 month, 1 week ago
Use Microsoft Graph PowerShell to efficiently manage the presence status in Microsoft Teams. So, you can set, get, and clear presence status.You’re welcome. It’s all a matter of the script – if it defines a function, you have to dot source it. But you can also write scripts that don’t have the “define function {}” text and then you can run it directly like you were trying to. 🙂
David F.
Alexander Bacher commented on
Group Policy backup with a PowerShell script 1 month, 1 week ago
Oh my God … that did the trick.
For me it was the same if I’m navigate to the path and call the script with a period in front but its not!
It worked like a charm after adding the complete path to the string.Thank you very much
Like MIke K. said right before your post – you need to load the function into memory.
If it is in c:temp, then you would type in a period, a space, and the path to the script.. c:tempBackup-GroupPolicy.ps1
David F.
Arno commented on
Install Windows Terminal without the Store (on Windows Server) 1 month, 1 week ago
JFTR: in the releases section on Github (https://github.com/microsoft/terminal/releases) you now also find a ZIP-Archive with everything needed to run the terminal including the Visual C libraries. Just extract that to a local folder and start “WindowsTerminal.exe”
Alexander Bacher commented on
Group Policy backup with a PowerShell script 1 month, 2 weeks ago
Hi Mike,
this looks awesome and would be really helpful to use your script. Thank you very much in adcance.
I’m just not gettin’ how I can get this up and running.Just downloaded your Script and fired it up within a powershell session on one of our DC’s. It’s gettin’ executed with no more output, so I assume the function is now loaded correctly.
PS C:Temp> .Backup-GroupPolicy.ps1
PS C:Temp>BUT it isn’t. It’s just not there. I can’t call the function from the same powershell-session.
PS C:> Backup-GroupPolicy -path D:GPO_Backup
Backup-GroupPolicy : The term ‘Backup-GroupPolicy’ is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ Backup-GroupPolicy -path D:GPO_Backup
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Backup-GroupPolicy:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundExceptionWhat I’m missing?
Thanks for your help
Kevin joined the group
PowerShell 1 month, 2 weeks ago
Emanuel Halapciuc commented on
Install, remove, list, and set default printer with PowerShell 1 month, 3 weeks ago
Hi, Gustavo. I hate to give you the consultant answer, but “it depends”. Since this is not related to the topic, you can ping me in private and continue the conversation there. If I can help, I’d be glad to.
Cheers! EmanuelGustavo commented on
Install, remove, list, and set default printer with PowerShell 1 month, 3 weeks ago
Hello Emanuel,
there are printers that ask for an acceptance to continue adding the driver, is there a way for me to force this with the PS?Thanks, the script can’t read the values because it doesn’t have permissions, even if I’m a domain admin I have to run the script choosing the option “Run as administrator” while I’m logged on a domain controller, in this way it works
David Figueroa commented on
A password expiration reminder script in PowerShell 1 month, 3 weeks ago
That usually means that the AD timestamp you’re trying to read doesn’t exist.
David F.
It doesn’t work for me, perhaps for my italian international settings for many user I got password expiration date equal to “lunedì 1 gennaio 1601 01:00:00”. Someone can help me?
George B commented on
The WindowsCompatibility module: Using Windows PowerShell modules in PowerShell Core 1 month, 3 weeks ago
Apparently the currently recommended method is to use:
In PowerShell 7, you should no longer need the WindowsCompatibility module. Instead try:
Import-Module -UseWindowsPowerShell
https://github.com/PowerShell/WindowsCompatibility/issues/73#issuecomment-655565655
Hi Adam at the start of your script in your Github repo it starts with # Requires -version 4
Is this suppose to be commented out. It is behaving a bit strange as the # does not work on it. Apologies if this is a stupid question I am very new to programming.Andrew Brown joined the group
PowerShell 1 month, 4 weeks ago
#Using format statement to do same thing
$string = “{0:D4}” -f $number- Load More