.Net 4.6.1 installation never finishes when using package resource
I am working on to install prerequisites for web server on base OS but i am stuck while installing .Net 4.6.1. Below is the part of the configuration , it starts well but never ends: on windows server...
View ArticleReply To: Connect-PSSession from server running powershell 5
The UserVoice page for PowerShell.
View ArticleReply To: Connect-PSSession from server running powershell 5
Don, nothing's changed on the target server side, only on my admin workstation, where I installed WMF5. If this is indeed a bug, how do I let MS know?
View ArticleOnly want it to email when it fails
Hi All, I have the following script that runs and copies backup files from one location to another location. Once it's done it will email the log file across. At present it will always email after...
View ArticleReply To: Having issue with DSC only creating partial MOF files
Something is not right here, Start-DSCConfiguration -useExisting is detecting the change in the service type but Set method of the Service resource is not called. Ideally your logs should have had the...
View ArticleReply To: Having issue with DSC only creating partial MOF files
Correct. I don't see any errors but some of the services don't start. Here is what I'm seeing with Test-DSCConfiguration: ERBOSE: [MOS-DSC01]: LCM: [ Start Resource ] [[Service]bits] VERBOSE:...
View Articleexport and import reg vallue targeted on servername
Problem: RICOH printers installed on three RDS 2012 servers localy. Reason is the adobe PDF print problem to use local installed printers. The printers are having the same name and drivers on all the...
View ArticleReply To: Can I create a Dynamic Variable name that increment with each loop...
Thank you Dan, this helps.
View ArticleReply To: MVA DSC Module 2, Day 1 Set-DSCLocalConfigurationManager failing?
I've tried to update this server 2012 R2 to WMF 5 using these bits: W2K12-KB3134759-x64.msu but I get an error: The update is not applicable to your computer again my current PS/WMF version:...
View ArticleReply To: Connect-PSSession from server running powershell 5
Seems odd. v3 supported disconnect/reconnect. However, it apparently isn't working between those two different versions. Not much you can do about it, unfortunately. It's possible it's a bug, actually.
View ArticleReply To: Connect-PSSession from server running powershell 5
Hi Don, thanks for the reply. Here's the output: PSVersion: 3.0 WSManStackVersion: 3.0 SerializationVersion: 1.1.0.1 CLRVersion: 4.0.30319.18449 BuildVersion: 6.2.9200.17065 PSCompatibleVersion:...
View ArticleReply To: Connect-PSSession from server running powershell 5
The remote servers are definitely not running PowerShell 1. PowerShell 1 didn't have Remoting, and doesn't run on Win2012. They're likely running v2, but you'd need to check. The older Remoting...
View ArticleReply To: Pwershell Get-Member vs -Properties * vs Overloading example:...
Thank you very much.
View ArticleConnect-PSSession from server running powershell 5
I have created remote disconnected pssession on a large number of servers. When I attempt to reconnect them, I receive this error: 'Windows Powershell does not support connect operation on the...
View ArticleReply To: Can I create a Dynamic Variable name that increment with each loop...
You could use -outvariable as well. $user = 'me';get-aduser me -OutVariable $user
View ArticleReply To: Can I create a Dynamic Variable name that increment with each loop...
new-variable -name "data$int" -value $something like so. (1..10) | % {new-variable -Name "data$_" -value $_ } get-variable
View ArticleReply To: How do I get rid of annoying warning message?
Prefix after the verb- like Don said. Also name the module meaningful so you can get all commands within that module. Properly defined help section within each function as well. Typically when I give...
View ArticleCan I create a Dynamic Variable name that increment with each loop of a for/each
I am trying to wrap my head around something and could use some assistance. I have a variable that has x amount of server names in it via a AD query $Nodes = Get-ADComputer -SearchBase "OU=DSC Managed...
View Article